.frame {
  position: absolute;
  width: 400px;
  height: 400px;
  inset: 0;
  margin: auto;
  border-radius: 2px;
  box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.3);
  background-color: #1bbe9e;
  color: #fff;
  overflow: hidden;
}

.center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.bg {
  fill: none;
  stroke-width: 4;
  stroke: #12836d;
}

.loader {
  fill: none;
  stroke: #fff;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 288;
  animation: line 4s linear infinite, spin 3s linear infinite;
  transform-origin: 50% 50%;
}

@keyframes line {
  0% {
    stroke-dashoffset: 1152;
  }
  100% {
    stroke-dashoffset: 576;
  }
}
@keyframes spin {
  from {
    transform: rotate(-90deg);
  }
  to {
    transform: rotate(270deg);
  }
}